<!DOCTYPE html>
<html   xmlns="http://www.w3c.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head/>
    <h:body>
        <p:layout fullPage="true">
            
            <p:layoutUnit position="north" size="50">
                <h:outputText value="Top content." />
            </p:layoutUnit>
            
            <p:layoutUnit position="south" size="100">
                <h:outputText value="Bottom content." />
            </p:layoutUnit>
            
            <p:layoutUnit position="west" size="300">
                <h:outputText value="Left content" />
            </p:layoutUnit>
            
            <p:layoutUnit position="east" size="200">
                <h:outputText value="Right Content" />
            </p:layoutUnit>
            
            <p:layoutUnit position="center">
                <p:layout style="width:400px;height:200px">
                    
                    <p:layoutUnit position="west" size="100" resizable="true" collapsible="true" closable="true">
                        <h:outputText value="Left Center Pane" />
                    </p:layoutUnit>
                    
                    <p:layoutUnit position="center">
                        <h:outputText value="Right Center Pane" />
                    </p:layoutUnit>
                    
                </p:layout>
            </p:layoutUnit>
            
        </p:layout>
    </h:body>
</html>
